namespace DumpsterDoggy.Domain.Shipping.Calculators
{
    public class StandardFreightShippingCalculator : IShippingCalculator
    {
        #region IShippingCalculator Members

        public bool IsValidFor(IShippable shippable)
        {
            return (shippable.Address.Country == "USA" || shippable.Address.Country == "CAN") &&
                   !shippable.RequiresForkLift();
        }

        public decimal CalculateCharge(IShippable shippable)
        {
            return 19.99m;
        }

        public string GetName()
        {
            return GetType().Name;
        }

        #endregion
    }
}